<%@ page import="aiball.Top3Stats" %>



<div class="fieldcontain ${hasErrors(bean: top3StatsInstance, field: 'label', 'error')} required">
	<label for="label">
		<g:message code="top3Stats.label.label" default="Label" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="label" required="" value="${top3StatsInstance?.label}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: top3StatsInstance, field: 'player', 'error')} required">
	<label for="player">
		<g:message code="top3Stats.player.label" default="Player" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="player" name="player.id" from="${aiball.Player.list()}" optionKey="id" required="" value="${top3StatsInstance?.player?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: top3StatsInstance, field: 'team', 'error')} required">
	<label for="team">
		<g:message code="top3Stats.team.label" default="Team" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="team" name="team.id" from="${aiball.Team.list()}" optionKey="id" required="" value="${top3StatsInstance?.team?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: top3StatsInstance, field: 'value', 'error')} required">
	<label for="value">
		<g:message code="top3Stats.value.label" default="Value" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="value" required="" value="${fieldValue(bean: top3StatsInstance, field: 'value')}"/>
</div>

